package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yangbh
 * @description 关系合约查询请求
 * @date 2020-03-18
 */
@Data
@ApiModel(value = "关联合约查询请求(内管)", description = "关联合约查询请求(内管)")
public class PortQueryRelationContractReq extends BaseReqObj {

    private static final long serialVersionUID = 1940075882617823278L;

    /**
     * 合约id
     */
    @NotNull(message = "合约 id不能为空")
    @ApiModelProperty(value = "合约id，如果合约id作为查询条件，使用精准查询，其他查询条件忽略", notes = "合约id", dataType = "Integer",
        required = true)
    private Integer contractId;

}
